package com.study.service;

import com.study.model.dto.ForgetPasswordSetNewPasswordDto;
import com.study.model.dto.ForgetPasswordValidateUserDto;
import com.study.model.dto.ForgetPasswordValidateVerifyCodeDto;
import com.study.model.dto.request.*;
import com.study.model.dto.response.UserInfoRespDto;
import com.study.model.entity.User;

public interface UserService {


    void userRegister(UserRegisterDto registerDto);

    User login(UserLoginDto loginDto);

    String forgetValidateUser(ForgetPasswordValidateUserDto dto);

    void forgetValidateVerifyCode(ForgetPasswordValidateVerifyCodeDto dto);

    void forgetSetNewPassword(ForgetPasswordSetNewPasswordDto dto);

    UserInfoRespDto getUserInfo(String userId);

    void changeNickNameAndPassword(UserSettingDto userSettingDto);
}
